Repository navigation
Share native providers and preserve frames during peer handoff - #3
Merged
Merged
Conversation
added 7 commits
November 3, 2026 00:55
pinhopro
marked this pull request as ready for review
November 8, 2026 03:14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Native Trystero now shares the pinned source-built OpenSSL and libdatachannel providers with Asio and Beast. B2 propagates the chosen build configuration and requires multiple threads for the native backend. Provider integration tests link the libraries together.
Preserve binary frames that arrive before native channel handlers are installed, using bounded storage from the application allocator and asynchronous delivery. This prevents early presence frames from being lost during multiroom handoff. A channel closing before room binding also terminates the pending negotiation. Regression tests cover the handoff, lifetime and allocation paths, and the guide records the behavior.
Relay-fault tests now isolate departures after the injected fault and require fresh, currently joined peers on both sides before probing a recovered connection. A controlled one-way handshake delay reproduces the previous readiness failure on browser and native backends. Existing deadlines, fresh-message checks, relay-loss assertions and fatal console errors remain in force. RTCError fields are retained for diagnosis.
Validation: the collection previously tested the provider and production fixes; the latest readiness control fails against the old condition and passes after correction. Fresh full local interoperability suites passed 26 browser and 30 native scenarios. Changed-file checks and independent review passed. The final library run 42427401137 and collection run 42427424028 passed, with 11 and 133 XML lanes independently audited and no failures.
A separate native two-room OperationError from collection run 42414092998 remains under investigation. Passing local repeats and the new diagnostics are not claimed as its fix. Coordinated integration and the detailed validation record: webcpporg/webcpp#12.
On 2026-11-08 the owner explicitly approved integration and publication with the intermittent OperationError investigation still open. This acceptance does not reclassify the error as fixed.